showNow

open fun showNow(@NonNull manager: FragmentManager, @Nullable tag: String)(source)

Display the dialog, immediately adding the fragment to the given FragmentManager. This is a convenience for explicitly creating a transaction, adding the fragment to it with the given tag, and calling commitNow. This does not add the transaction to the fragment back stack. When the fragment is dismissed, a new transaction will be executed to remove it from the activity.

Parameters

manager

The FragmentManager this fragment will be added to.

tag

The tag for this fragment, as per FragmentTransaction.add.